package com.ibiaoke.order.mapper;

import com.ibiaoke.order.entity.ShoppingCartGoods;
import com.ibiaoke.order.entity.ShoppingCartGoodsExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface ShoppingCartGoodsMapper {
    long countByExample(ShoppingCartGoodsExample example);

    int deleteByExample(ShoppingCartGoodsExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(ShoppingCartGoods record);

    int insertSelective(ShoppingCartGoods record);

    List<ShoppingCartGoods> selectByExample(ShoppingCartGoodsExample example);

    ShoppingCartGoods selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") ShoppingCartGoods record, @Param("example") ShoppingCartGoodsExample example);

    int updateByExample(@Param("record") ShoppingCartGoods record, @Param("example") ShoppingCartGoodsExample example);

    int updateByPrimaryKeySelective(ShoppingCartGoods record);

    int updateByPrimaryKey(ShoppingCartGoods record);
}